import { useRouter } from 'vue-router';
const router = useRouter()

import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useLoginStore = defineStore('login', () => {
    let searchMsg = ref('')
    function searchOut() {
      router.push({
        path: '/layout/search'
      })
    }
let lj=ref('')
  return { searchMsg,searchOut }
})
